CopyBaseMenuBar
TheCopyBaseMenuBar
method copies the base menu bar object.
ODMenuBar CopyBaseMenuBar ();
- return value
- A reference to the newly created copy of the base menu bar object.
DISCUSSION
Your part calls this method to create a menu bar object to which it can add its own menus.This method initializes the reference count of the returned menu bar. When you have finished using that menu bar, you should call its
Release
method.SEE ALSO
TheODMenuBar::Copy
method (page 399).
TheODWindowState::AcquireBaseMenuBar
method (page 849).
TheODWindowState::SetBaseMenuBar
method (page 868).
Listing 2-6 on page 45 in OpenDoc Cookbook.
"Adding Part Menus to the Base Menu Bar" on page 241 in OpenDoc Programmer's Guide.
"Factory methods for OpenDoc classes" on page 466 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help